Skip to content

[codex] Fix coverage ffprobe setup - #57

Merged
yuga-hashimoto merged 1 commit into
mainfrom
codex/ci-coverage-voicevox
Jun 28, 2026
Merged

[codex] Fix coverage ffprobe setup#57
yuga-hashimoto merged 1 commit into
mainfrom
codex/ci-coverage-voicevox

Conversation

@yuga-hashimoto

Copy link
Copy Markdown
Owner

Summary

  • install ffmpeg / ffprobe in the coverage job before running pnpm test:coverage
  • keep the build-test setup unchanged

Root cause

The failing coverage run exercised the VOICEVOX audio-duration test without the ffprobe setup that exists in the build-test matrix. Without ffprobe, video_studio_generate_audio keeps the fallback scene durations (3, 3) instead of the probed WAV durations (1.25, 1.75).

Validation

  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/ci.yml"); puts "yaml-ok"'
  • git diff --check
  • pnpm exec vitest run tests/video-studio.test.ts -t "uses VOICEVOX" --coverage --reporter=verbose

Note: a full local pnpm test:coverage from the global worktree hit a path-sensitive tests/generated-template.test.ts failure unrelated to this CI failure; the Video Studio coverage test passed locally.

@yuga-hashimoto
yuga-hashimoto marked this pull request as ready for review June 28, 2026 16:35
@yuga-hashimoto
yuga-hashimoto merged commit a342a0c into main Jun 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant